package com.fangzhi.mobel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName commission
 */
@TableName(value ="commission")
@Accessors(chain = true)
@Data
public class Commission implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long accountId;

    /**
     * 月份
     */
    private LocalDate month;

    /**
     * 销售额
     */
    private Integer price;

    /**
     * 提成
     */
    private Integer commissionPrice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}